//
//  NetworkRequest.h
//  FreeTrip
//
//  Created by lanou on 15/11/24.
//  Copyright © 2015年 邓芮. All rights reserved.
//

#import <Foundation/Foundation.h>

//#import "NetworkState.h"
typedef void(^networkRequest) (NSArray *array);
typedef void(^networkRequestDic)(id model);

@interface NetworkRequest : NSObject

+ (instancetype)shareNetworeRequest;

#pragma mark ---主界面请求----
- (void)netRequestWithurl:(NSString *)url networkRequest:(networkRequest)networkRequest;//国内外请求

#pragma mark ---strategy请求----
- (void)netRequestForRaiWithUrl:(NSString *)url networkRequest:(networkRequest)networkRequest;//重复用一个block

#pragma mark ---bookPlace请求---
- (void)netRequestForBookPlaceWithUrl:(NSString *)url networkRequest:(networkRequest)networkRequest;

#pragma mark ---bookJourney请求---
- (void)netRequestForBookJourneyWithUrl:(NSString *)url networkRequest:(networkRequest)networkRequest;

#pragma mark ---bookTopics请求---
- (void)netRequestForBookTopicsWithUrl:(NSString *)url networkRequest:(networkRequest)networkRequest;

#pragma mark ---贴吧Log请求---
- (void)netRequestForLogWithUrl:(NSString *)url networkRequest:(networkRequest)networkRequest;

#pragma mark ---贴吧LogDetail请求---
- (void)netRequestForLogDetailWithUrl:(NSString *)url networkRequest:(networkRequest)networkRequest;

#pragma mark ---shopRequest请求---
- (void)netRequestForShopWithUrl:(NSString *)url networkRequest:(networkRequest)networkRequest;
#pragma mark --- shopDetail 请求 ---
-(void)netRequestForShopDetailWithUrl:(NSString *)url networkRequest:(networkRequest)networkRequest;
#pragma mark --- BookPlaceDetail 请求 ---
-(void)netRequestForBookPlaceDetailWithUrl:(NSString *)url networkRequest:(networkRequestDic)networkRequest;
#pragma mark --- BookJounDetail 请求 ---
-(void)netRequestForBookjournDetailWithUrl:(NSString *)url networkRequest:(networkRequestDic)networkRequest;
#pragma mark --- BookTopicsDetail 请求 ---
-(void)netRequestForBookTopicsDetailWithUrl:(NSString *)url networkRequest:(networkRequestDic)networkRequest;

#pragma mark --- BookPlaceDetailTravel 请求 ---
-(void)netRequestForBookPlaceDetailTravelWithUrl:(NSString *)url networkRequest:(networkRequestDic)networkRequest;


@end
